package Song.Han.day01.demo04;
//byte short int long double float char boolean
//String
public class Demo03MethodOverloadPrint {

    public static void myPrint(byte num){
        System.out.println(num);
    }

    public static void myPrint(short num){
        System.out.println(num);
    }

    public static void myPrint(int num){
        System.out.println(num);
    }

    public static void myPrint(long num){
        System.out.println(num);
    }

    public static void myPrint(double num){
        System.out.println(num);
    }

    public static void myPrint(float num){
        System.out.println(num);
    }

    public static void myPrint(char zifu){
        System.out.println(zifu);
    }

    public static void myPrint(boolean is){
        System.out.println(is);
    }

    public static void myPrint(String word){
        System.out.println(word);
    }

    public static void main(String[] args) {
        myPrint("hahaha");
    }
}
